#ifndef QBULLET_H
#define QBULLET_H
#include"qpixmapitem.h"
#include<QtGui>
#include"qnet.h"
#include<QGraphicsScene>

class QBullet:public QpixmapItem
{
public:
    QBullet(const QString & fileName,QGraphicsScene *scence,qreal angle);

    void paint(QPainter *painter,const QStyleOptionGraphicsItem *option,QWidget *widget);

    void advance(int phase);
    void docolliding();
private:
    QGraphicsScene *scence;
};

#endif // QBULLET_H
